package the.workshop.bu.dto;

import lombok.Data;
import org.springframework.beans.BeanUtils;

import java.util.Date;

@Data
public class CustomerCreditDTO {
    private String product;
    private String statusName;
    public Date modifiedTime;

    public CustomerCreditDTO(CreditVO creditDTO) {
        BeanUtils.copyProperties(creditDTO, this);
    }
}
